#include "hdu_handler.h"

int main() {
	HduHandler hh(0, "/root/project/GVJ/cookie/", 1, 1, NULL);
	hh.login("gvj0", "gvj2014");
	
	const char *sock = "123";
	const char *oj = "hdu";
	const char *problemid = "1000";
	const char *language = "0";
	const char *usercode = "#include <iostream>\n \
							int main() {};";

	HduTask task(sock, oj, problemid, language, usercode);

	hh.submit(task);

	return 0;
}
